package com.qf.leadnewsarticle.model.vos;

import com.qf.leadnewsmodel.pojos.article.ApArticle;
import lombok.Data;

@Data
public class ArticleVo extends ApArticle implements Comparable<ArticleVo>{
    private long score;

    @Override
    public int compareTo(ArticleVo o) {
        return (int) (o.score - score);
    }
}
